package top.crossrun.webview.bridge.core.pls;

public class BridgePluginMsg {
    public int id;
    public String name;
    public Object param;

    public BridgePluginMsg(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public BridgePluginMsg(int id, String name, Object param) {
        this.id = id;
        this.name = name;
        this.param = param;
    }

    public BridgePluginMsg setId(int id) {
        this.id = id;
        return this;
    }

    public BridgePluginMsg setName(String name) {
        this.name = name;
        return this;
    }

    public BridgePluginMsg setParam(Object param) {
        this.param = param;
        return this;
    }
}
